﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BA2009.Entities;

namespace BA2009.Data.Filters
{
    public static class BannerPositionFilters
     {
         public static IQueryable<BannerPosition> FilterByPageId(this IQueryable<BannerPosition> bannerPositionQuery, int pageId)
         {
              return from b in bannerPositionQuery
                     where b.PageID.Equals(pageId)
                     select b;
         }
     }
}
